#pragma once

#include "GameState.h"

#define CELL_COL 32.0f
#define CELL_ROW 32.0f

class GamePlayState : public FSMCartridge
{
protected:
	BeanieCore* m_core;

	clkWorld m_world;
	MapManager m_map;

	GamePlayer* m_player;

	GameObject* object;
	GameObject* escape;
	
	bool complete;
public:
	GamePlayState(){}
	GamePlayState(BeanieCore* a_core, bool a_renew = true);

	void init();
	void release();
	void input();
	void update();
	void draw();
	void preLoop();
	void postLoop();
};